package com.ruoyi.etp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户列对象 etp_customer_service_stats
 * 
 * @author xmj
 * @date 2025-09-12
 */
public class EtpCustomerServiceStats extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 所属组织 */
    @Excel(name = "所属组织")
    private Long deptId;

    /** 最近跟进员工 */
    @Excel(name = "最近跟进员工")
    private Long userId;

    /** 累计服务次数 */
    @Excel(name = "累计服务次数")
    private Long totalServiceCount;

    /** 累计服务时长(秒) */
    @Excel(name = "累计服务时长(秒)")
    private Long totalServiceDuration;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wxCode;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String notes;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setTotalServiceCount(Long totalServiceCount) 
    {
        this.totalServiceCount = totalServiceCount;
    }

    public Long getTotalServiceCount() 
    {
        return totalServiceCount;
    }

    public void setTotalServiceDuration(Long totalServiceDuration) 
    {
        this.totalServiceDuration = totalServiceDuration;
    }

    public Long getTotalServiceDuration() 
    {
        return totalServiceDuration;
    }

    public void setWxCode(String wxCode) 
    {
        this.wxCode = wxCode;
    }

    public String getWxCode() 
    {
        return wxCode;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerName", getCustomerName())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("totalServiceCount", getTotalServiceCount())
            .append("totalServiceDuration", getTotalServiceDuration())
            .append("wxCode", getWxCode())
            .append("notes", getNotes())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
